<?php

namespace App\Models;

use Eloquent as Model;

/**
 * Class Device
 * @package App\Models
 * @version December 25, 2017, 9:32 am UTC
 *
 * @property string name
 * @property string ip
 * @property integer type
 * @property integer status
 * @property integer park_code
 */
class BadCarLog extends Model
{
    public $table = 'bad_car_log';

    public $timestamps=false;


    public $fillable = [
        'park_code',
        'record_id',
        'in_arm_code',
        'out_arm_code',
        'vpl_number',
        'vpl_owner',
        'vpl_type',
        'status',
        'in_time',
        'out_time',
        'parking_duration',
        'calc_charge',
        'parking_charge',
        'charge_item_cnt',
        'charge_taker',
        'in_picture',
        'out_picture',
        'is_delete',
        'update_time',
        'cardno',
        'vpl_color',
        'vpl_authtype',
        'total_charge',
        'trace_uk',
        'car_type'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        'name' => 'string',
        'ip' => 'string',
        'type' => 'integer',
        'status' => 'integer',
        'spec' => 'integer',
        'brand' => 'integer',
        'device_id' => 'integer'
    ];


}

